package com.xiguaji.tiktok.task.monitor;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.concurrent.atomic.AtomicInteger;
import java.util.concurrent.atomic.AtomicLong;

@Setter
@Getter
@ToString
public class AwemesComentStatics {
    //视频总数
    private AtomicInteger totalAwemes=new AtomicInteger();
    private AtomicInteger  totalCommentAnalyzedErrors=new AtomicInteger();
    private AtomicInteger   onlyAnAwemes=new AtomicInteger();
    private AtomicInteger  totalCommentSpideErrors=new AtomicInteger();
    private AtomicInteger  totalCommentSpideIsEmptys=new AtomicInteger();
    private AtomicInteger  totalCommentSpideLt50=new AtomicInteger();
    //播主类别
    private String type;

    @Setter
    @Getter
    @ToString
    //单视频内的统计
    public  static class AwemeComentStatics{
        private AwemesComentStatics awemesComentStatics;
        //评论数
        private int commentSize;
        private int oCommentCount;
        private int keywordSize;
        //单视频总花费时间
        private long costTimes;
        private long CommentSpiderTime;
        private boolean hasComments=true;
        private long saveComments2S3Time;
        private long getKeywordByAiTime;
        private long saveKeyword2EsTime;
        private long awemeId;

    }
}
